//
//  HTTripDeatillCommentTableViewCell.m
//  HeartTravel
//
//  Created by lanou on 15/10/30.
//  Copyright © 2015年 陈文杰. All rights reserved.
//

#import "HTTripDeatillCommentTableViewCell.h"
#import "UIImageView+WebCache.h"
@implementation HTTripDeatillCommentTableViewCell

-(void)setSomeoneMD:(HTTripSomeoneCommentModel *)someoneMD
{
    _someoneMD = someoneMD;
    
    [_autherIcon sd_setImageWithURL:[NSURL URLWithString:someoneMD.avatar]];
    _autherIcon.layer.cornerRadius = 20;
    _autherIcon.layer.masksToBounds = YES;
    _autherName.text = someoneMD.user_name;
    
    _timeFrom.text = someoneMD.create_date;
   
    NSString *str = @"回复了 ";
    _commentContent.text = [[[str stringByAppendingString:someoneMD.f_user_name] stringByAppendingString:@": "]       stringByAppendingString:someoneMD.content];
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
